﻿@model int

<div class="mar-hr-10">
    <div class="form-inline">
        <div class="form-group">
            <label class="sr-only" for="if-pk-@Model">Property Key</label>
            <input type="text" name="PropKey" id="if-pk-@Model" class="form-control" placeholder="Property Name">
        </div>
        <div class="form-group">
            <label class="sr-only" for="if-pv-@Model">Property Value</label>
            <input type="text" name="PropValue" id="if-pv-@Model" class="form-control" placeholder="Property Value">
        </div>
        <div class="form-group">
            <a href="#" class="btn btn-link btn-small remove"><i class="fa fa-times text-danger"></i></a>
        </div>
    </div>
</div>

<script type="text/javascript">
    $(".remove").click(function () {
        $(this).parents(".mar-hr-10").remove();
    });
</script>